#pragma once
#include "CDependencyObject.h"
#include "IMarkupExtension.h"

class CMarkupExtensionBase :
	public CDependencyObject,
	public IMarkupExtension
{

protected: 
	CMarkupExtensionBase();
	CMarkupExtensionBase(CCoreServices * pCore);
public: 
	virtual XUINT32 GetTypeIndex() const;
	virtual HRESULT ProvideValue(const xshared_ptr<XamlCommonServiceProviderContext> & spServiceProviderContext, xshared_ptr<XamlQualifiedObject> & qoValue) = 0;
};